#include "StdAfx.h"
#include "Blue.h"
#include "DisplayAbnormalDetection.h"
#include"BlueDADetection.h"

Blue::Blue( IplImage *  src_img) 
: Pattern( src_img )
{
}

Blue::~Blue(void)
{
}

void Blue::detect( )
{
	Detection * dad = new BlueDADetection( ) ;
	dad->detect( pattern_img , marked_img  , abnormity_list  ) ;
}

void Blue::preProcess( )
{
	CPreProcess * pp = new CPreProcess( )  ;
	pp->pre_process( this->pattern_img ) ;
	this->LCD_region = pp->get_LCD_region( ) ;
	delete pp ;
}
